using UnityEngine;

namespace QGameFramework.GameBase
{
    public class GameBaseLogic
    {
        /// <summary>
        /// 初始化
        /// </summary>
        public virtual void OnInit()
        {
            Debug.Log("游戏逻辑初始化");
        }

        /// <summary>
        /// 游戏运行逻辑
        /// </summary>
        public virtual void OnUpdate()
        {
            Debug.Log("时刻更新游戏逻辑");
        }

        /// <summary>
        /// 游戏退出
        /// </summary>
        public virtual void OnDestroy()
        {
            Debug.Log("游戏退出");
        }
    }
}